<template>
    <div id="app">
      <!--exclude="deta"exclude="lety"  不使用缓存  和activated()类似 -->
      <keep-alive > 
        <router-view/>
      </keep-alive>
    </div>
</template>

<script>
export default {
  name: 'App',
	data(){
			return{
			lety:['Deta']
      }
	}
}
</script>

<style>

</style>
